home *** CD-ROM | disk | FTP | other *** search
/ Apple WWDC 1996 / WWDC96_1996 (CD).toast / Technology Materials / MacOS 8 Resources / Developer Tools / Mac OS 8 Interfaces & Libraries / Interfaces / CIncludes / CalendarEngine.h < prev    next >
C/C++ Source or Header  |  1996-05-01  |  19KB  |  460 lines

  1.  
  2. /*
  3.  * This file was generated by the SOM Compiler.
  4.  * FileName: CalendarEngine.h.
  5.  * Generated using:
  6.  *     SOM Precompiler somipc: 2.18
  7.  *     SOM Emitter emith.dll: 2.33
  8.  */
  9.  
  10. #ifndef SOM_TCalendarEngine_h
  11. #define SOM_TCalendarEngine_h
  12.  
  13.  
  14. /*
  15.  * Passthru lines: File: "C.h", "before"
  16.  */
  17. #include <TimeObjects.h>
  18.  
  19. #include <som.h>
  20.  
  21. /*
  22.  * -- This emitter treats Method Tokens as Thunks by default.
  23.  * -- Use the sc modifier "nothunks" to change this default
  24.  */
  25. #undef somresolve_
  26. #define somresolve_(obj,mToken) ((somMethodProc*)((void)obj, mToken))
  27.  
  28. /*
  29.  * Define the class name as an object type
  30.  */
  31. #ifndef TCalendarEngine
  32. #define TCalendarEngine SOMObject
  33. #endif
  34. #include <somobj.h>
  35.  
  36. /*
  37.  * Start of user-defined types:
  38.  */
  39. #ifndef SOMClass
  40.     #define SOMClass SOMObject
  41. #endif /* SOMClass */
  42. #ifndef SOMObject
  43.     #define SOMObject SOMObject
  44. #endif /* SOMObject */
  45.  
  46. /*
  47.  * End of user-defined types.
  48.  */
  49.  
  50. #define TCalendarEngine_MajorVersion 1
  51. #define TCalendarEngine_MinorVersion 1
  52.  
  53. /*
  54.  * External name shortening if required
  55.  */
  56. #ifdef SOM_USE_SHORT_EXTERNAL_NAMES
  57. #define TCalendarEngineClassData d
  58. #endif /* SOM_USE_SHORT_EXTERNAL_NAMES */
  59. /*--------------Migration------------*/
  60.  
  61. #ifdef OLDIBMSOMAPISUPPORT
  62. #define TCalendarEngine_classObj somNewClassReference(TCalendarEngine)
  63. #define _TCalendarEngine TCalendarEngine_classObj
  64. #define TCalendarEngineCClassData TCalendarEngineClassData
  65. #define TCalendarEngineNewClass(major,minor) somNewVersionedClassReference(TCalendarEngine,major,minor)
  66. #endif
  67.  
  68. /* define xxxMetaClass macro to facilitate (cls ## MetaClass) */
  69. #define TCalendarEngineMetaClass SOMClass
  70.  
  71. #if PRAGMA_ALIGN_SUPPORTED
  72. #  pragma options align=power
  73. #endif
  74.  
  75. /*
  76.  * Declare the class data structure
  77.  */
  78. SOMEXTERN struct TCalendarEngineClassDataStructure {
  79. #ifdef OLDIBMSOMAPISUPPORT
  80.     SOMAny            *classObject;    /* always zero, use somNewClassReference instead */
  81. #else
  82.     long zero;
  83. #endif
  84.     somStaticClassInfo *sci;
  85.     somDToken        instanceDataToken;
  86.     long reserved [3];
  87.     somMToken _get_fCalendarObjectRef;
  88.     somMToken _set_fCalendarObjectRef;
  89.     somMToken _get_fCalendarID;
  90.     somMToken _set_fCalendarID;
  91.     somMToken _get_fDivisionCount;
  92.     somMToken _set_fDivisionCount;
  93.     somMToken SetCalendarObjectRef;
  94.     somMToken GetCalendarIdentifier;
  95.     somMToken GetCalendarDivisionCount;
  96.     somMToken GetCalendarFieldCount;
  97.     somMToken GetCalendarDivisionName;
  98.     somMToken GetCalendarFieldName;
  99.     somMToken ConvertCalendarDateToTimeObject;
  100.     somMToken ConvertTimeObjectToCalendarDate;
  101.     somMToken AddCalendarDateToTimeObject;
  102.     somMToken SubtractCalendarDateFromTimeObject;
  103. } SOMDLINK TCalendarEngineClassData;
  104.  
  105. #if PRAGMA_ALIGN_SUPPORTED
  106. #  pragma options align=reset
  107. #endif
  108.  
  109. #if !defined(TCalendarEngine_Class_Source) && !defined(SOM_Module_calendarengine_Source)
  110. #if PRAGMA_IMPORT_SUPPORTED
  111. #pragma import list TCalendarEngineClassData
  112. #endif
  113. #endif
  114.  
  115.  
  116. /*
  117.  * New macro for TCalendarEngine
  118.  */
  119. #define TCalendarEngineNew() somNewObject(TCalendarEngine)
  120.  
  121. /*
  122.  * Override method: somInit
  123.  */
  124. #define TCalendarEngine_somInit(somSelf) \
  125.     SOMObject_somInit(somSelf)
  126.  
  127. /*
  128.  * New Method: _get_fCalendarObjectRef
  129.  */
  130. typedef LocaleObjectRef   (SOMLINK *somTD_TCalendarEngine__get_fCalendarObjectRef)(TCalendarEngine *somSelf, Environment *ev);
  131. #define somMD_TCalendarEngine__get_fCalendarObjectRef "::TCalendarEngine::fCalendarObjectRef"
  132. #define TCalendarEngine__get_fCalendarObjectRef(somSelf,ev) \
  133.     (SOM_Resolve(somSelf, TCalendarEngine, _get_fCalendarObjectRef) \
  134.     (somSelf,ev))
  135. #ifndef SOMGD_get_fCalendarObjectRef
  136.     #if defined _get_fCalendarObjectRef || defined __get_fCalendarObjectRef
  137.         #undef _get_fCalendarObjectRef
  138.         #undef __get_fCalendarObjectRef
  139.         #define SOMGD_get_fCalendarObjectRef 1
  140.     #else
  141.         #define __get_fCalendarObjectRef TCalendarEngine__get_fCalendarObjectRef
  142.     #endif /* __get_fCalendarObjectRef */
  143. #endif /* SOMGD_get_fCalendarObjectRef */
  144.  
  145. /*
  146.  * New Method: _set_fCalendarObjectRef
  147.  */
  148. typedef void   (SOMLINK *somTD_TCalendarEngine__set_fCalendarObjectRef)(TCalendarEngine *somSelf, Environment *ev,
  149.         LocaleObjectRef fCalendarObjectRef);
  150. #define somMD_TCalendarEngine__set_fCalendarObjectRef "::TCalendarEngine::fCalendarObjectRef"
  151. #define TCalendarEngine__set_fCalendarObjectRef(somSelf,ev,fCalendarObjectRef) \
  152.     (SOM_Resolve(somSelf, TCalendarEngine, _set_fCalendarObjectRef) \
  153.     (somSelf,ev,fCalendarObjectRef))
  154. #ifndef SOMGD_set_fCalendarObjectRef
  155.     #if defined _set_fCalendarObjectRef || defined __set_fCalendarObjectRef
  156.         #undef _set_fCalendarObjectRef
  157.         #undef __set_fCalendarObjectRef
  158.         #define SOMGD_set_fCalendarObjectRef 1
  159.     #else
  160.         #define __set_fCalendarObjectRef TCalendarEngine__set_fCalendarObjectRef
  161.     #endif /* __set_fCalendarObjectRef */
  162. #endif /* SOMGD_set_fCalendarObjectRef */
  163.  
  164. /*
  165.  * New Method: _get_fCalendarID
  166.  */
  167. typedef UInt32   (SOMLINK *somTD_TCalendarEngine__get_fCalendarID)(TCalendarEngine *somSelf, Environment *ev);
  168. #define somMD_TCalendarEngine__get_fCalendarID "::TCalendarEngine::fCalendarID"
  169. #define TCalendarEngine__get_fCalendarID(somSelf,ev) \
  170.     (SOM_Resolve(somSelf, TCalendarEngine, _get_fCalendarID) \
  171.     (somSelf,ev))
  172. #ifndef SOMGD_get_fCalendarID
  173.     #if defined _get_fCalendarID || defined __get_fCalendarID
  174.         #undef _get_fCalendarID
  175.         #undef __get_fCalendarID
  176.         #define SOMGD_get_fCalendarID 1
  177.     #else
  178.         #define __get_fCalendarID TCalendarEngine__get_fCalendarID
  179.     #endif /* __get_fCalendarID */
  180. #endif /* SOMGD_get_fCalendarID */
  181.  
  182. /*
  183.  * New Method: _set_fCalendarID
  184.  */
  185. typedef void   (SOMLINK *somTD_TCalendarEngine__set_fCalendarID)(TCalendarEngine *somSelf, Environment *ev,
  186.         UInt32 fCalendarID);
  187. #define somMD_TCalendarEngine__set_fCalendarID "::TCalendarEngine::fCalendarID"
  188. #define TCalendarEngine__set_fCalendarID(somSelf,ev,fCalendarID) \
  189.     (SOM_Resolve(somSelf, TCalendarEngine, _set_fCalendarID) \
  190.     (somSelf,ev,fCalendarID))
  191. #ifndef SOMGD_set_fCalendarID
  192.     #if defined _set_fCalendarID || defined __set_fCalendarID
  193.         #undef _set_fCalendarID
  194.         #undef __set_fCalendarID
  195.         #define SOMGD_set_fCalendarID 1
  196.     #else
  197.         #define __set_fCalendarID TCalendarEngine__set_fCalendarID
  198.     #endif /* __set_fCalendarID */
  199. #endif /* SOMGD_set_fCalendarID */
  200.  
  201. /*
  202.  * New Method: _get_fDivisionCount
  203.  */
  204. typedef UInt32   (SOMLINK *somTD_TCalendarEngine__get_fDivisionCount)(TCalendarEngine *somSelf, Environment *ev);
  205. #define somMD_TCalendarEngine__get_fDivisionCount "::TCalendarEngine::fDivisionCount"
  206. #define TCalendarEngine__get_fDivisionCount(somSelf,ev) \
  207.     (SOM_Resolve(somSelf, TCalendarEngine, _get_fDivisionCount) \
  208.     (somSelf,ev))
  209. #ifndef SOMGD_get_fDivisionCount
  210.     #if defined _get_fDivisionCount || defined __get_fDivisionCount
  211.         #undef _get_fDivisionCount
  212.         #undef __get_fDivisionCount
  213.         #define SOMGD_get_fDivisionCount 1
  214.     #else
  215.         #define __get_fDivisionCount TCalendarEngine__get_fDivisionCount
  216.     #endif /* __get_fDivisionCount */
  217. #endif /* SOMGD_get_fDivisionCount */
  218.  
  219. /*
  220.  * New Method: _set_fDivisionCount
  221.  */
  222. typedef void   (SOMLINK *somTD_TCalendarEngine__set_fDivisionCount)(TCalendarEngine *somSelf, Environment *ev,
  223.         UInt32 fDivisionCount);
  224. #define somMD_TCalendarEngine__set_fDivisionCount "::TCalendarEngine::fDivisionCount"
  225. #define TCalendarEngine__set_fDivisionCount(somSelf,ev,fDivisionCount) \
  226.     (SOM_Resolve(somSelf, TCalendarEngine, _set_fDivisionCount) \
  227.     (somSelf,ev,fDivisionCount))
  228. #ifndef SOMGD_set_fDivisionCount
  229.     #if defined _set_fDivisionCount || defined __set_fDivisionCount
  230.         #undef _set_fDivisionCount
  231.         #undef __set_fDivisionCount
  232.         #define SOMGD_set_fDivisionCount 1
  233.     #else
  234.         #define __set_fDivisionCount TCalendarEngine__set_fDivisionCount
  235.     #endif /* __set_fDivisionCount */
  236. #endif /* SOMGD_set_fDivisionCount */
  237.  
  238. /*
  239.  * New Method: SetCalendarObjectRef
  240.  */
  241. typedef void   (SOMLINK *somTD_TCalendarEngine_SetCalendarObjectRef)(TCalendarEngine *somSelf, Environment *ev,
  242.         LocaleObjectRef localeObjectRef);
  243. #define somMD_TCalendarEngine_SetCalendarObjectRef "::TCalendarEngine::SetCalendarObjectRef"
  244. #define TCalendarEngine_SetCalendarObjectRef(somSelf,ev,localeObjectRef) \
  245.     (SOM_Resolve(somSelf, TCalendarEngine, SetCalendarObjectRef) \
  246.     (somSelf,ev,localeObjectRef))
  247. #ifndef SOMGD_SetCalendarObjectRef
  248.     #if defined _SetCalendarObjectRef || defined __SetCalendarObjectRef
  249.         #undef _SetCalendarObjectRef
  250.         #undef __SetCalendarObjectRef
  251.         #define SOMGD_SetCalendarObjectRef 1
  252.     #else
  253.         #define _SetCalendarObjectRef TCalendarEngine_SetCalendarObjectRef
  254.     #endif /* _SetCalendarObjectRef */
  255. #endif /* SOMGD_SetCalendarObjectRef */
  256.  
  257. /*
  258.  * New Method: GetCalendarIdentifier
  259.  */
  260. typedef OSStatus   (SOMLINK *somTD_TCalendarEngine_GetCalendarIdentifier)(TCalendarEngine *somSelf, Environment *ev,
  261.         UInt32* id);
  262. #define somMD_TCalendarEngine_GetCalendarIdentifier "::TCalendarEngine::GetCalendarIdentifier"
  263. #define TCalendarEngine_GetCalendarIdentifier(somSelf,ev,id) \
  264.     (SOM_Resolve(somSelf, TCalendarEngine, GetCalendarIdentifier) \
  265.     (somSelf,ev,id))
  266. #ifndef SOMGD_GetCalendarIdentifier
  267.     #if defined _GetCalendarIdentifier || defined __GetCalendarIdentifier
  268.         #undef _GetCalendarIdentifier
  269.         #undef __GetCalendarIdentifier
  270.         #define SOMGD_GetCalendarIdentifier 1
  271.     #else
  272.         #define _GetCalendarIdentifier TCalendarEngine_GetCalendarIdentifier
  273.     #endif /* _GetCalendarIdentifier */
  274. #endif /* SOMGD_GetCalendarIdentifier */
  275.  
  276. /*
  277.  * New Method: GetCalendarDivisionCount
  278.  */
  279. typedef OSStatus   (SOMLINK *somTD_TCalendarEngine_GetCalendarDivisionCount)(TCalendarEngine *somSelf, Environment *ev,
  280.         UInt32* count);
  281. #define somMD_TCalendarEngine_GetCalendarDivisionCount "::TCalendarEngine::GetCalendarDivisionCount"
  282. #define TCalendarEngine_GetCalendarDivisionCount(somSelf,ev,count) \
  283.     (SOM_Resolve(somSelf, TCalendarEngine, GetCalendarDivisionCount) \
  284.     (somSelf,ev,count))
  285. #ifndef SOMGD_GetCalendarDivisionCount
  286.     #if defined _GetCalendarDivisionCount || defined __GetCalendarDivisionCount
  287.         #undef _GetCalendarDivisionCount
  288.         #undef __GetCalendarDivisionCount
  289.         #define SOMGD_GetCalendarDivisionCount 1
  290.     #else
  291.         #define _GetCalendarDivisionCount TCalendarEngine_GetCalendarDivisionCount
  292.     #endif /* _GetCalendarDivisionCount */
  293. #endif /* SOMGD_GetCalendarDivisionCount */
  294.  
  295. /*
  296.  * New Method: GetCalendarFieldCount
  297.  */
  298. typedef OSStatus   (SOMLINK *somTD_TCalendarEngine_GetCalendarFieldCount)(TCalendarEngine *somSelf, Environment *ev,
  299.         UInt32 theDivision,
  300.         UInt32* count);
  301. #define somMD_TCalendarEngine_GetCalendarFieldCount "::TCalendarEngine::GetCalendarFieldCount"
  302. #define TCalendarEngine_GetCalendarFieldCount(somSelf,ev,theDivision,count) \
  303.     (SOM_Resolve(somSelf, TCalendarEngine, GetCalendarFieldCount) \
  304.     (somSelf,ev,theDivision,count))
  305. #ifndef SOMGD_GetCalendarFieldCount
  306.     #if defined _GetCalendarFieldCount || defined __GetCalendarFieldCount
  307.         #undef _GetCalendarFieldCount
  308.         #undef __GetCalendarFieldCount
  309.         #define SOMGD_GetCalendarFieldCount 1
  310.     #else
  311.         #define _GetCalendarFieldCount TCalendarEngine_GetCalendarFieldCount
  312.     #endif /* _GetCalendarFieldCount */
  313. #endif /* SOMGD_GetCalendarFieldCount */
  314.  
  315. /*
  316.  * New Method: GetCalendarDivisionName
  317.  */
  318. typedef OSStatus   (SOMLINK *somTD_TCalendarEngine_GetCalendarDivisionName)(TCalendarEngine *somSelf, Environment *ev,
  319.         UInt32 theDivsion,
  320.         TextObject name);
  321. #define somMD_TCalendarEngine_GetCalendarDivisionName "::TCalendarEngine::GetCalendarDivisionName"
  322. #define TCalendarEngine_GetCalendarDivisionName(somSelf,ev,theDivsion,name) \
  323.     (SOM_Resolve(somSelf, TCalendarEngine, GetCalendarDivisionName) \
  324.     (somSelf,ev,theDivsion,name))
  325. #ifndef SOMGD_GetCalendarDivisionName
  326.     #if defined _GetCalendarDivisionName || defined __GetCalendarDivisionName
  327.         #undef _GetCalendarDivisionName
  328.         #undef __GetCalendarDivisionName
  329.         #define SOMGD_GetCalendarDivisionName 1
  330.     #else
  331.         #define _GetCalendarDivisionName TCalendarEngine_GetCalendarDivisionName
  332.     #endif /* _GetCalendarDivisionName */
  333. #endif /* SOMGD_GetCalendarDivisionName */
  334.  
  335. /*
  336.  * New Method: GetCalendarFieldName
  337.  */
  338. typedef OSStatus   (SOMLINK *somTD_TCalendarEngine_GetCalendarFieldName)(TCalendarEngine *somSelf, Environment *ev,
  339.         UInt32 division,
  340.         UInt32 field,
  341.         TextObject name);
  342. #define somMD_TCalendarEngine_GetCalendarFieldName "::TCalendarEngine::GetCalendarFieldName"
  343. #define TCalendarEngine_GetCalendarFieldName(somSelf,ev,division,field,name) \
  344.     (SOM_Resolve(somSelf, TCalendarEngine, GetCalendarFieldName) \
  345.     (somSelf,ev,division,field,name))
  346. #ifndef SOMGD_GetCalendarFieldName
  347.     #if defined _GetCalendarFieldName || defined __GetCalendarFieldName
  348.         #undef _GetCalendarFieldName
  349.         #undef __GetCalendarFieldName
  350.         #define SOMGD_GetCalendarFieldName 1
  351.     #else
  352.         #define _GetCalendarFieldName TCalendarEngine_GetCalendarFieldName
  353.     #endif /* _GetCalendarFieldName */
  354. #endif /* SOMGD_GetCalendarFieldName */
  355.  
  356. /*
  357.  * New Method: ConvertCalendarDateToTimeObject
  358.  */
  359. typedef OSStatus   (SOMLINK *somTD_TCalendarEngine_ConvertCalendarDateToTimeObject)(TCalendarEngine *somSelf, Environment *ev,
  360.         TCalendarDate** calendarDate,
  361.         TimeObject* result);
  362. #define somMD_TCalendarEngine_ConvertCalendarDateToTimeObject "::TCalendarEngine::ConvertCalendarDateToTimeObject"
  363. #define TCalendarEngine_ConvertCalendarDateToTimeObject(somSelf,ev,calendarDate,result) \
  364.     (SOM_Resolve(somSelf, TCalendarEngine, ConvertCalendarDateToTimeObject) \
  365.     (somSelf,ev,calendarDate,result))
  366. #ifndef SOMGD_ConvertCalendarDateToTimeObject
  367.     #if defined _ConvertCalendarDateToTimeObject || defined __ConvertCalendarDateToTimeObject
  368.         #undef _ConvertCalendarDateToTimeObject
  369.         #undef __ConvertCalendarDateToTimeObject
  370.         #define SOMGD_ConvertCalendarDateToTimeObject 1
  371.     #else
  372.         #define _ConvertCalendarDateToTimeObject TCalendarEngine_ConvertCalendarDateToTimeObject
  373.     #endif /* _ConvertCalendarDateToTimeObject */
  374. #endif /* SOMGD_ConvertCalendarDateToTimeObject */
  375.  
  376. /*
  377.  * New Method: ConvertTimeObjectToCalendarDate
  378.  */
  379. typedef OSStatus   (SOMLINK *somTD_TCalendarEngine_ConvertTimeObjectToCalendarDate)(TCalendarEngine *somSelf, Environment *ev,
  380.         ConstTimeObjectPtr timeObj,
  381.         TCalendarDate** result);
  382. #define somMD_TCalendarEngine_ConvertTimeObjectToCalendarDate "::TCalendarEngine::ConvertTimeObjectToCalendarDate"
  383. #define TCalendarEngine_ConvertTimeObjectToCalendarDate(somSelf,ev,timeObj,result) \
  384.     (SOM_Resolve(somSelf, TCalendarEngine, ConvertTimeObjectToCalendarDate) \
  385.     (somSelf,ev,timeObj,result))
  386. #ifndef SOMGD_ConvertTimeObjectToCalendarDate
  387.     #if defined _ConvertTimeObjectToCalendarDate || defined __ConvertTimeObjectToCalendarDate
  388.         #undef _ConvertTimeObjectToCalendarDate
  389.         #undef __ConvertTimeObjectToCalendarDate
  390.         #define SOMGD_ConvertTimeObjectToCalendarDate 1
  391.     #else
  392.         #define _ConvertTimeObjectToCalendarDate TCalendarEngine_ConvertTimeObjectToCalendarDate
  393.     #endif /* _ConvertTimeObjectToCalendarDate */
  394. #endif /* SOMGD_ConvertTimeObjectToCalendarDate */
  395.  
  396. /*
  397.  * New Method: AddCalendarDateToTimeObject
  398.  */
  399. typedef OSStatus   (SOMLINK *somTD_TCalendarEngine_AddCalendarDateToTimeObject)(TCalendarEngine *somSelf, Environment *ev,
  400.         ConstTimeObjectPtr source,
  401.         TCalendarDate** delta,
  402.         TimeObjectPtr result);
  403. #define somMD_TCalendarEngine_AddCalendarDateToTimeObject "::TCalendarEngine::AddCalendarDateToTimeObject"
  404. #define TCalendarEngine_AddCalendarDateToTimeObject(somSelf,ev,source,delta,result) \
  405.     (SOM_Resolve(somSelf, TCalendarEngine, AddCalendarDateToTimeObject) \
  406.     (somSelf,ev,source,delta,result))
  407. #ifndef SOMGD_AddCalendarDateToTimeObject
  408.     #if defined _AddCalendarDateToTimeObject || defined __AddCalendarDateToTimeObject
  409.         #undef _AddCalendarDateToTimeObject
  410.         #undef __AddCalendarDateToTimeObject
  411.         #define SOMGD_AddCalendarDateToTimeObject 1
  412.     #else
  413.         #define _AddCalendarDateToTimeObject TCalendarEngine_AddCalendarDateToTimeObject
  414.     #endif /* _AddCalendarDateToTimeObject */
  415. #endif /* SOMGD_AddCalendarDateToTimeObject */
  416.  
  417. /*
  418.  * New Method: SubtractCalendarDateFromTimeObject
  419.  */
  420. typedef OSStatus   (SOMLINK *somTD_TCalendarEngine_SubtractCalendarDateFromTimeObject)(TCalendarEngine *somSelf, Environment *ev,
  421.         ConstTimeObjectPtr source,
  422.         TCalendarDate** delta,
  423.         TimeObjectPtr result);
  424. #define somMD_TCalendarEngine_SubtractCalendarDateFromTimeObject "::TCalendarEngine::SubtractCalendarDateFromTimeObject"
  425. #define TCalendarEngine_SubtractCalendarDateFromTimeObject(somSelf,ev,source,delta,result) \
  426.     (SOM_Resolve(somSelf, TCalendarEngine, SubtractCalendarDateFromTimeObject) \
  427.     (somSelf,ev,source,delta,result))
  428. #ifndef SOMGD_SubtractCalendarDateFromTimeObject
  429.     #if defined _SubtractCalendarDateFromTimeObject || defined __SubtractCalendarDateFromTimeObject
  430.         #undef _SubtractCalendarDateFromTimeObject
  431.         #undef __SubtractCalendarDateFromTimeObject
  432.         #define SOMGD_SubtractCalendarDateFromTimeObject 1
  433.     #else
  434.         #define _SubtractCalendarDateFromTimeObject TCalendarEngine_SubtractCalendarDateFromTimeObject
  435.     #endif /* _SubtractCalendarDateFromTimeObject */
  436. #endif /* SOMGD_SubtractCalendarDateFromTimeObject */
  437. #ifndef SOM_DONT_USE_INHERITED_MACROS
  438. #define TCalendarEngine_somUninit SOMObject_somUninit
  439. #define TCalendarEngine_somDuplicateReference SOMObject_somDuplicateReference
  440. #define TCalendarEngine_somCompareReference SOMObject_somCompareReference
  441. #define TCalendarEngine_somRelease SOMObject_somRelease
  442. #define TCalendarEngine_somFree SOMObject_somFree
  443. #define TCalendarEngine_somCanDelete SOMObject_somCanDelete
  444. #define TCalendarEngine_somGetClass SOMObject_somGetClass
  445. #define TCalendarEngine_somGetClassName SOMObject_somGetClassName
  446. #define TCalendarEngine_somGetSize SOMObject_somGetSize
  447. #define TCalendarEngine_somIsA SOMObject_somIsA
  448. #define TCalendarEngine_somRespondsTo SOMObject_somRespondsTo
  449. #define TCalendarEngine_somIsInstanceOf SOMObject_somIsInstanceOf
  450. #define TCalendarEngine_somDispatch SOMObject_somDispatch
  451. #define TCalendarEngine_somClassDispatch SOMObject_somClassDispatch
  452. #define TCalendarEngine_somCastObj SOMObject_somCastObj
  453. #define TCalendarEngine_somResetObj SOMObject_somResetObj
  454. #define TCalendarEngine_somPrintSelf SOMObject_somPrintSelf
  455. #define TCalendarEngine_somDumpSelf SOMObject_somDumpSelf
  456. #define TCalendarEngine_somDumpSelfInt SOMObject_somDumpSelfInt
  457. #endif /* SOM_DONT_USE_INHERITED_MACROS */
  458.  
  459. #endif       /* SOM_TCalendarEngine_h */
  460.